package com.rao.core.excel.typeHandler;

import org.apache.poi.ss.usermodel.Cell;

import java.lang.reflect.Field;

/**
 * <? 坐标+反射--去构建实体类对象
 */
public interface TypeHandler {
    /**
     * @param cell        单元格
     * @param columnIndex y轴
     * @param field       filed对象
     * @param o           field.setValue
     * @return
     * @throws IllegalAccessException
     */
    boolean hand(Cell cell, int columnIndex, Field field, Object o) throws IllegalAccessException;

}
